package com.fh.fallback;

import com.fh.feign.OrderItemQueryClient;
import com.fh.feign.StockqueryClient;
import com.fh.model.OrderItem;
import com.fh.model.ProductSku;
import org.springframework.stereotype.Component;

import java.util.List;


@Component
public class StockQueryClientFallback implements StockqueryClient {


    @Override
    public ProductSku queryStock(String skuId) {
        System.out.println("进入sku查询库存降级");
        return null;
    }
}
